package zhu.areas.match.service;

import java.util.List;

import zhu.areas.match.data.CompApp;
import zhu.areas.match.data.CompResult;
import zhu.common.data.PageBean;
import zhu.common.data.Pager;

public interface ICompAppService {

	public void saveCompApp(CompApp compApp);

	public List<CompApp> findAllCompApp();

	public CompApp findCompAppById(Integer id);

	public List<CompApp> findCompAppByStatue(int statueId);

	public void updateCompApp(CompApp compApp);

	public int pubAllPassedComp();

	public void setCompOutDate(int compId);
	
	public CompResult findCompResultByID(int compID);
	
	public Pager findCompResultAsPager(Integer pageSize,
			String currentPage, String pageMethod);
		
	public Pager queryForPage(Integer statue, Integer pageSize,
			String currentPage, String pageMethod);

}
